home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Bus
/
S
/
Stock HELPER®.cpt
/
Stock HELPERÆ V0.2
/
background_2433.txt
< prev
next >
Wrap
Text File
|
1988-03-23
|
2KB
|
78 lines
-- background: 2433 from stack: in.2
-- bmap block id: 29518
-- flags: 4000
-- background id: 0
-- name:
----- HyperTalk script -----
on findString SearchName,fieldName
set cursor to 4
set lockScreen to true
put empty into foundCard
put empty into firstFound
put "x" into it
repeat until (foundCard is not empty) or (it is empty)
put empty into it
find searchName in field fieldName
if short name of this card is not "Title card" then
get short ID of this card
if field fieldName=searchName then
put it into foundCard
else
if firstFound is empty then
put it into firstFound
else
if it=firstFound then
put empty into it -- stop when all cards searched
end if
end if
end if
end if
end repeat
if foundCard is empty then
go to card "Title Card"
answer searchName&&"not found"
end if
set lockScreen to false
end findString
-- part 3 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=5 top=319 right=338 bottom=25
-- title width / last selected line: 0
-- icon id / first selected line: 21700 / 21700
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Home
----- HyperTalk script -----
on mouseUp
visual effect iris close
go home
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=423 top=319 right=338 bottom=443
-- title width / last selected line: 0
-- icon id / first selected line: 1013 / 1013
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: To Title Card
----- HyperTalk script -----
on mouseUp
global firstChart
visual effect wipe right
go card firstChart
end mouseUp